← Back to issue list

Snapcraft is pulling content snap before building a snap

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1869505
Type
issue
State
open
Author
~keshavnrj
Labels
Created
2020-03-28 16:29:45.836977+00:00
Updated
2020-03-30 12:27:01.865192+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

snapcraft both in stable and edge channel is pulling content snap described in plugs of app’s snapcraft before building the snap package of app. This is very annoying and i don’t know what is the use of such behavior. Content snaps are usually used to package runtime libs and other things required by app. I dont know why they are required by snapcraft before building the .snap file of app. my app’s snapcraft.yaml (https://paste.ubuntu.com/p/fF5Wrv5hny/) Command i used to build snap : `snapcraft--destructive-mode` cause i don’t need build it inside a VM, since libs and runtime is built in VM and are in content snap already this snap just hold application executable and snap meta. Same happen with `snapcraft` command, Hence snapcraft is taking huge resources to build a a snap package which don't even have any package to stage.

Evaluation history

No evaluation history available.